package com.pan.service;

import com.pan.entity.OperationStockHistory;
import com.pan.entity.Result;
import com.pan.vo.OperationStockHistoryInsertVo;

import java.text.ParseException;
import java.util.List;

public interface OperationStockHistoryService {
    Result insert(String adminTicket, OperationStockHistoryInsertVo operationStockHistoryInsertVo);

    Result<List<OperationStockHistory>> selectByStockId(String adminTicket, Long stockId);

    Result<List<OperationStockHistory>> selectByAdminId(String adminTicket, Long adminId);

    Result<List<OperationStockHistory>> selectByUpdateDate(String adminTicket, String y, String m, String d) throws ParseException;
}
